import axios from "../../axios.js";

export default{
 
    //获取邮件账号
    GETACCOUNT(data)
    {
      return axios({
        url:'/emailSend/listAccount',
        method:'post',
        data
      })
    },

    //邮件账号新增
    GETINSERT(data)
    {
      return axios({
        url:'/emailSend/insertAccount',
        method:'post',
        data
      })
    },

    //邮件账号修改
    GETUPDATE(data)
    {
      return axios({
        url:'/emailSend/updateAccount',
        method:'post',
        data
      })
    },

    //邮件账号删除
    GETDELETE(data)
    {
      return axios({
        url:'/emailSend/deleteAccount',
        method:'post',
        data
      })
    },

     //获取邮件模板
     GETTEMPALTE(data)
     {
       return axios({
         url:'/emailSend/listTemplate',
         method:'post',
         data
       })
     },

     //邮件模板新增
    GETTEMINSERT(data)
    {
      return axios({
        url:'/emailSend/insertTemplate',
        method:'post',
        data
      })
    },

    //邮件模板修改
    GETTEMUPDATE(data)
    {
      return axios({
        url:'/emailSend/updateTemplate',
        method:'post',
        data
      })
    },

    //邮件模板删除
    GETTEMDELETE(data)
    {
      return axios({
        url:'/emailSend/deleteTemplate',
        method:'post',
        data
      })
    },

    //邮件模板状态
    TEMPALTESTATUS(data)
    {
      return axios({
        url:'/emailSend/updateTemplateStatus',
        method:'post',
        data
      })
    },
};
